@extends('layouts.app')

@section('body')
    @component('components.alert')@endcomponent
    <form action="{{route('auth.reset-password')}}" method="post">
        {{csrf_field()}}

        邮箱:<input type="email" name="email" value="{{old('email')}}">
        @if($errors->has('email'))
            {{$errors->first('email')}}
        @endif
        <br/>

        <button type="submit">发送重置链接</button>
    </form>
    <br/>
    <a href="{{route('auth.reset-password.sms-reset')}}">使用短信验证码找回</a>
@endsection
